package First;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by msingh on 2014-06-27.
 */
public class ListDisplay {
    public static void main(String[] args){
        List<String> myStringList = Arrays.asList("Malkiat","Daljeet","Randhawa");
        List<Integer> myIntegerList = Arrays.asList(1,2,3);
        List<Boolean> myBooleanList = Arrays.asList(true,false,true);

        System.out.println("My String list is: " + myStringList + "\nMy Integer List is: " + myIntegerList + "\nMy Boolean List is: " + myBooleanList);
        System.out.println("list size is: " + myStringList.size());
    }
}
